package com.openvalley.cyj.examination.pojo;

public class User {
    private Integer user_id;
    //用户名唯一，不允许重复。
    private String user_name;
    //没加密
    private String user_password;
    private Integer user_identity;
    private Integer user_authority;
    private Integer user_is_login;

    public User() {
    }

    public User(Integer user_id, String user_name, String user_password, Integer user_identity, Integer user_authority, Integer user_is_login) {
        this.user_id = user_id;
        this.user_name = user_name;
        this.user_password = user_password;
        this.user_identity = user_identity;
        this.user_authority = user_authority;
        this.user_is_login = user_is_login;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_password() {
        return user_password;
    }

    public void setUser_password(String user_password) {
        this.user_password = user_password;
    }

    public Integer getUser_identity() {
        return user_identity;
    }

    public void setUser_identity(Integer user_identity) {
        this.user_identity = user_identity;
    }

    public Integer getUser_authority() {
        return user_authority;
    }

    public void setUser_authority(Integer user_authority) {
        this.user_authority = user_authority;
    }

    public Integer getUser_is_login() {
        return user_is_login;
    }

    public void setUser_is_login(Integer user_is_login) {
        this.user_is_login = user_is_login;
    }

    @Override
    public String toString() {
        return "User{" +
                "user_id=" + user_id +
                ", user_name='" + user_name + '\'' +
                ", user_password='" + user_password + '\'' +
                ", user_identity=" + user_identity +
                ", user_authority=" + user_authority +
                ", user_is_login=" + user_is_login +
                '}';
    }
}
